package pe.com.itworth.ttsclient.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;

public class FolderAndMailsDTO implements Serializable {
	
	private Integer iId;
	private String sName;
	private Collection<FolderAndMailsDTO> childFolders = new ArrayList<FolderAndMailsDTO>();
	private Collection<MailDTO> mails;
	
	public FolderAndMailsDTO() {
		super();
	}

	public FolderAndMailsDTO(Integer iId, String sName,
			Collection<FolderAndMailsDTO> childFolders,
			Collection<MailDTO> mails) {
		super();
		this.iId = iId;
		this.sName = sName;
		this.childFolders = childFolders;
		this.mails = mails;
	}

	public Integer getiId() {
		return iId;
	}
	public void setiId(Integer iId) {
		this.iId = iId;
	}
	public String getsName() {
		return sName;
	}
	public void setsName(String sName) {
		this.sName = sName;
	}
	public Collection<MailDTO> getMails() {
		return mails;
	}
	public void setMails(Collection<MailDTO> mails) {
		this.mails = mails;
	}
	public Collection<FolderAndMailsDTO> getChildFolders() {
		return childFolders;
	}
	public void setChildFolders(Collection<FolderAndMailsDTO> childFolders) {
		this.childFolders = childFolders;
	}
	
}
